package com.pureut.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.equipment.domain.MaintenanceProject;
import com.pureut.equipment.domain.dto.MaintenanceProjectDto;
import com.pureut.equipment.domain.vo.MaintenanceProjectVo;

import java.util.List;

/***
 *
 * Author: 保养项目 service
 * Date:2023/04/23 13:05
 * @DESC
 */
public interface MaintenanceProjectService extends IService<MaintenanceProject> {

    /**
     * 保养项目列表
     */
    List<MaintenanceProjectDto> getList(MaintenanceProjectVo maintenanceProjectVo);

    /**
     * 新增
     */
    boolean add(MaintenanceProjectVo maintenanceProjectVo) throws Exception;

    /**
     * 删除
     */
    boolean deleteMaintenanceProjectById(Long id);

    /**
     * 查看
     */
    MaintenanceProjectDto getView(Long id);

    /**
     * 修改
     */
    boolean updateMaintenanceProject(MaintenanceProjectVo maintenanceProjectVo);
}
